.class Lcom/estrongs/android/view/FileGridViewWrapper$m;
.super Ljava/lang/Object;
.source "FileGridViewWrapper.java"

# interfaces
.implements Landroid/widget/AdapterView$OnItemClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/view/FileGridViewWrapper;->a(Landroid/view/View;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Landroid/view/View;

.field final synthetic b:Lcom/estrongs/android/view/FileGridViewWrapper;


# direct methods
.method constructor <init>(Lcom/estrongs/android/view/FileGridViewWrapper;Landroid/view/View;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/view/FileGridViewWrapper$m;->b:Lcom/estrongs/android/view/FileGridViewWrapper;

    iput-object p2, p0, Lcom/estrongs/android/view/FileGridViewWrapper$m;->a:Landroid/view/View;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onItemClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
    .locals 0
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/widget/AdapterView<",
            "*>;",
            "Landroid/view/View;",
            "IJ)V"
        }
    .end annotation

    .line 1
    iget-object p1, p0, Lcom/estrongs/android/view/FileGridViewWrapper$m;->b:Lcom/estrongs/android/view/FileGridViewWrapper;

    invoke-static {p1}, Lcom/estrongs/android/view/FileGridViewWrapper;->d(Lcom/estrongs/android/view/FileGridViewWrapper;)I

    move-result p1

    if-ne p3, p1, :cond_0

    .line 2
    iget-object p1, p0, Lcom/estrongs/android/view/FileGridViewWrapper$m;->b:Lcom/estrongs/android/view/FileGridViewWrapper;

    invoke-static {p1}, Lcom/estrongs/android/view/FileGridViewWrapper;->e(Lcom/estrongs/android/view/FileGridViewWrapper;)Les/q00;

    move-result-object p1

    invoke-virtual {p1}, Landroid/app/Dialog;->dismiss()V

    return-void

    .line 3
    :cond_0
    iget-object p1, p0, Lcom/estrongs/android/view/FileGridViewWrapper$m;->b:Lcom/estrongs/android/view/FileGridViewWrapper;

    invoke-static {p1}, Lcom/estrongs/android/view/FileGridViewWrapper;->g(Lcom/estrongs/android/view/FileGridViewWrapper;)Ljava/util/List;

    move-result-object p2

    invoke-interface {p2, p3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p2

    check-cast p2, Les/t00;

    invoke-virtual {p2}, Les/t00;->c()Ljava/lang/String;

    move-result-object p2

    invoke-static {p1, p2}, Lcom/estrongs/android/view/FileGridViewWrapper;->b(Lcom/estrongs/android/view/FileGridViewWrapper;Ljava/lang/String;)Ljava/lang/String;

    .line 4
    iget-object p1, p0, Lcom/estrongs/android/view/FileGridViewWrapper$m;->b:Lcom/estrongs/android/view/FileGridViewWrapper;

    invoke-static {p1}, Lcom/estrongs/android/view/FileGridViewWrapper;->f(Lcom/estrongs/android/view/FileGridViewWrapper;)Ljava/lang/String;

    move-result-object p2

    if-nez p3, :cond_1

    const/4 p4, 0x1

    goto :goto_0

    :cond_1
    const/4 p4, 0x0

    :goto_0
    invoke-static {p1, p2, p4}, Lcom/estrongs/android/view/FileGridViewWrapper;->a(Lcom/estrongs/android/view/FileGridViewWrapper;Ljava/lang/String;Z)V

    .line 5
    iget-object p1, p0, Lcom/estrongs/android/view/FileGridViewWrapper$m;->b:Lcom/estrongs/android/view/FileGridViewWrapper;

    invoke-static {p1}, Lcom/estrongs/android/view/FileGridViewWrapper;->g(Lcom/estrongs/android/view/FileGridViewWrapper;)Ljava/util/List;

    move-result-object p1

    invoke-interface {p1, p3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Les/t00;

    invoke-virtual {p1}, Les/t00;->b()Ljava/lang/String;

    move-result-object p1

    .line 6
    iget-object p2, p0, Lcom/estrongs/android/view/FileGridViewWrapper$m;->a:Landroid/view/View;

    instance-of p4, p2, Landroid/widget/TextView;

    if-eqz p4, :cond_2

    .line 7
    check-cast p2, Landroid/widget/TextView;

    invoke-virtual {p2, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 8
    :cond_2
    iget-object p2, p0, Lcom/estrongs/android/view/FileGridViewWrapper$m;->b:Lcom/estrongs/android/view/FileGridViewWrapper;

    iget-object p2, p2, Lcom/estrongs/android/view/FileGridViewWrapper;->n0:Lcom/estrongs/android/ui/recycler/ClassifyGroupAdapter;

    if-eqz p2, :cond_3

    .line 9
    invoke-virtual {p2, p1}, Lcom/estrongs/android/ui/recycler/ClassifyGroupAdapter;->a(Ljava/lang/String;)V

    .line 10
    :cond_3
    iget-object p1, p0, Lcom/estrongs/android/view/FileGridViewWrapper$m;->b:Lcom/estrongs/android/view/FileGridViewWrapper;

    invoke-static {p1, p3}, Lcom/estrongs/android/view/FileGridViewWrapper;->a(Lcom/estrongs/android/view/FileGridViewWrapper;I)I

    .line 11
    iget-object p1, p0, Lcom/estrongs/android/view/FileGridViewWrapper$m;->b:Lcom/estrongs/android/view/FileGridViewWrapper;

    invoke-static {p1}, Lcom/estrongs/android/view/FileGridViewWrapper;->e(Lcom/estrongs/android/view/FileGridViewWrapper;)Les/q00;

    move-result-object p1

    invoke-virtual {p1}, Landroid/app/Dialog;->dismiss()V

    return-void
.end method
